SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd04af8b5ead8818fee4c18b0ffaae0ec0e2391733c56670576c27c63a5b65877' 
  AND token = 'iZplObuHWdXhuQVPMVvdKam/fE13ErNTw6ZzWF1ltms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}