SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9aaf9a65abdf861726cf6b36a8d210f5937d91c3836418172d52d7687dd2ff28' 
  AND token = 'Jluj+wa3aUkYByKVtlehljjcbMy0ricZZ8SD3+QRzG8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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