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

Query time 0.00031

JSON explain

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