SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b40aea4c929fed2197fb0103697df52eefd2bf75a880ec7f47b917dcd769149c' 
  AND token = 'Hutx7tj64IQSDcu7pSGwvodD+GUGKyl5KS6fHpH7Ph4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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