SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ff4c346feeb950c885bd83dbb14accb9e71640219bd10f2505e26875f62dd3a' 
  AND token = 'WgInD3R5ciGPc1iMXG3a9rl/7KPehj8t0Y0vNNPQGN0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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