SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01c12fb2382aa973d97b9bc621a28727ca983aa2b92ad2234c3fc6a0aa090d64' 
  AND token = 'qqDqQ3DIShwR0Ub2ohQldCzRLRCKJ3oXVI6DSafhNEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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