SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2cc98ea3779ecf0515c3ffe5be640de7093504d42c9a7623b826743dde5e18ba' 
  AND token = 'hcNqLkWH4d1Gfmg/bzs0aiHUKKWLisM9pt2OTTMsvss=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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