SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3766d9f60cdba50d4d9f332b0d4d8cdb477783eecb97f8f83b1f79b87617b2c9' 
  AND token = 'v9RnMqQ7ZJbP0pfc38P/JJGdBKdMqIwm2pSLxJTEiKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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