SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5594710761dc56be874fbdca7321f347f40ce798f8531a73274e45609743f22' 
  AND token = 'cusBw3XsKN/C44ic3+bm/l8f0vhS85VlaQRQlc0ENhc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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