SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2177d4f961e425026fbcd052a9ff7757e3797d60f374e33473cf67337a279cc8' 
  AND token = 'fMy+7MfIonHcRaH21xMl7uMasJw8C9tafV1ClC0E2lA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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