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

Query time 0.00031

JSON explain

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