SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9ddd23e0e39823e43c93526acf653a27f7ee565233a2b5ebd13df9452756643' 
  AND token = 'XyrDMf41egIcViEU6eVSNTuJsBVtbE1GfvWt6J3bcVA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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