SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e0f734cd3655b2260a8b8596b156da99e0bf5ecea23912dbab48b0256dff3ad' 
  AND token = 'pmzm3Hhs4ae/kIyvNTPH4MX6uhhrZjIlJStGMMy5ptU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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