SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0bd436ec7a044ba525d7026bbc50b52ffd4f3dc906c70ccb4651c2564675cbd' 
  AND token = '7mS2iAr0uu62+96Ea8g1lNwqBdWvKtRdnnG3jQurV6w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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