SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7499b5bb4ea18a6bf7493fb39fce8d7b83df43b912568bc048191c9a46823cf9' 
  AND token = 'UyL+m52jMoH/Y6kx2dywbhxinReShg16F9qGYw8QoMw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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