SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ce835a56ae4deaa477e6643e9e26b97416322594d46e001bd847a5705423007' 
  AND token = 'ZDXT64lxLWRhM60UlUWMMMUsnjPYohRBgcbynmv0dl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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