SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b0031d035c4bd9bf9e82735d4927bddd1230d4af61af9c4e1bed45df562d58a' 
  AND token = 'kjCFmdjpGIclSb6ySgwa5sLXjg8aXPPLq7Y8Yg0tMyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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