SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f3a5c11f76126d90bca7c9a9e22a16cc75936f2b89ff958a56ee4feae528e2e3' 
  AND token = 'aHj3b7uKxRNkQvuauFm3YwTvbKXt7342er+1euc6I4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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