SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ebc2c1c8e6218aff06991956e2e0eb987a2f1a786a6c5befe953829f9498ffbc' 
  AND token = 'Ej1M/omDakcrENHfLE/wsGIF+OnAd+4GA48Bl3AMUDY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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