SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd56bae8db29dbbf9f5da0297d3fd5cf49c9b42e778684e3b4cc8a36599f3e66a' 
  AND token = 'heo4k2UbxiO1tu1cWt7dOu6UDdH9AM5r0qaKBFB+tM8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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