SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99065ba2a4afb305ddcc36bc22065771e4488335a07b0bbd41ef25a8760c1558' 
  AND token = 'BM47AqRPQR6zCq0XY5hgYEpuGZ3KR0Ts68Eo78drc/w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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