SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0b28c382468f1d649e8bfbcaa11dbb185887358fb0869b6706e813dceef2495' 
  AND token = '0PC5sbDtZXm3X5Uu1PFIx+xaFvQZ0CssxuuJom9vl6o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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