SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01790f88b3314b41c3fb7b16075225d68b2a12443fbb3cb8b9eb1074ec0d4f57' 
  AND token = '1r8npZ+F2UAZlHMFZGNpNd6gLbeOVQyaCEDEjRTb37s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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