SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24b3f3080262ce012017a2cc5bf2c019d4b005bf44f110284b8e45777f56229b' 
  AND token = 'iLbbA5oKLZESKlKVzmRSghJ/FkG62JFe7Gg3cyA2q7o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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