SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4ff080fcffe460c2b6f8ad11ab72a8cc8bbbf3ec9d84d9f3c46a93ceb809679' 
  AND token = 'ntGHX3OpVQd+Yv5M8QD+0dkq4Gxni5XOK60eQGYVbRQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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