SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6997db78bdf83a46caf8be0ae21edb72d9f22adcfa754836ab40d08a48db5a98' 
  AND token = 'gHn/rM0Lq6gymF0kkMbf09FM50wKZ+0Iao4MNnOT7bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}