SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e0a5d0e42dc3fd4d0216ddd407681407781a61245b6f2a61fed3a5b8986fd9f9' 
  AND token = '1f2KGTPhLf9/2k2FXbS0p7Zj4x3tPcJHsSZHmM8jzWQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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