SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef863cdb91de9e90ffe07873caa323360dc9c145944fd4e0264b5e5809e66460' 
  AND token = 'dovs6M9XVWy4gjQ95UtL0fwEiFZD6VTDe4ko/6RUK/I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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