SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d742d175eaec669b61d7bbe22d5f9ae2aea7eb1ea9daf009b048723d0e97dfc' 
  AND token = 'LgktD1hY82Ex2Hq397usOVLnK901P6nRvWYfentwiKw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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