SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '637106478561d0880383eee685fde42e1c53d8bc4032755923ada624679bf65e' 
  AND token = 'mh+j1kt/hMXXEn6sTIBsWqp02tsK0VBwJ725ENW+Qk8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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