SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1ffd266e0596cdd2e864be0cdd4914b38ea8f322b202903072feaa478210e1e' 
  AND token = 'iD2PV4Jidc+BaZjGHFBAccMn4Q23EK7Mr1UScEv/vcg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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