SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd45d5bedbad8262163ffaf3657088c70930128c905f5eeaa1aed9ed02ccfad5c' 
  AND token = 'Oa6mK3bdIvg9Hwj/ofLEJC5H1RTAUEaleseHpKwCwS0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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