SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd42c29316aa84c27318c1f73b24a5172932df3319112207616aa0638a90210da' 
  AND token = '58CbJMNY/e88nEqXrkg8H1iPPcdMv7iUBHBYh4BdLWc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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