SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c90c09a775f790bca6ea23a6a6cce7235e93818fe6eb6eb495beeb9c56b27d00' 
  AND token = 'Z7hN1k4PcfJYmsAIu/Pqnhdlr6GcPQtZy1U8XuXpYfQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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