SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e35397d1d27c389c845f5a2899f6ab7be0bca0e53d06eea358065740a973adc' 
  AND token = '5eHVLrtoDEwra4AUZy5mX4pSeUkd7PSNdeue7J8ZtxY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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