SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'baeb2799ca9296e104b0ecf87365c276ec371a28d81eac0605a16faccc8e9c13' 
  AND token = 'UoBE/rYlHlgy8VLNkav63wrXEl3rxNJDu346c+g6HB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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