SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8b21a985531c7442667b9fcf2b219051b77cf5f8cff52bc3cafa5f86021bcc9f' 
  AND token = 'TtTgnPDM80HhzKnYsDcjlq9WDqwn8TI3yXDqe6OFLHM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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