SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b5256a82a3d531c94e3ed35170267f965f1e5afdc58225933bb8f77319dbb02' 
  AND token = '7G3ys/MriSErxn1uwvmoGaIol4EdYSeDzdIJ0I/UtFs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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