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

Query time 0.00024

JSON explain

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