SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8021acc452ea0f6f678c52c3a6adacc6761d24f047b340c2c68c1350d54758ed' 
  AND token = 'eh30cln0rlCm3m1kfN3jSjvEJZRtqggJj+L/Tbh8dV0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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