SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8bc8a276a596e97401c93f88a507e5d2f17ba235f1a0b764c492a611e508d961' 
  AND token = 'K2Z11Umcv/MrgrL9IX7C48/FYTbUOEvn5fqANfNP7Bg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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