SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e682e6b3f66b57068526be807f9d34dac125a2aab0daca172fd96bdc8598bd5f' 
  AND token = 'LgTFUDwkvMKNuZ9a9/NQ7IqREcn1TMJkFrxRzGR+BDQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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