SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b662fc5da6641c55bae416ee3edc5b4bab2267b7f359c89eaf99359efdab0e6d' 
  AND token = 'ZRx50VkRpwPO9u+/ku6zLUPT9AbHhDfAf8efg5TeNis=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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